package net.sunniwell.app.mediaplayer02;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.annotation.Nullable;

public class MainActivity extends Activity implements View.OnClickListener {

    Button buttonVideoShow;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        buttonVideoShow=findViewById(R.id.btn_local_video_show);
        buttonVideoShow.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId())
        {
            case R.id.btn_local_video_show:
                Intent intent=new Intent(MainActivity.this, MyPlayerControlView.class);
                startActivity(intent);
                break;
        }

    }
}